/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.contract.model;

import com.yunhoo.sys.util.common.LoginParam;

/**
 * 合同条款
 *
 * @author Administrator
 */
public class ContractItem {

    private String orgCode;
    private int id = 0;
    private String number = "";         //主合同编号
    private String topic = "";//主题
    private String termtype = "";       //合同条款
    private String other = "";          //备注
    private int flag = 0;//主合同 : 0  补充合同: 1
    private boolean selected = false;

    public ContractItem() {
        orgCode = LoginParam.getOrg().getCode();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public String getTermtype() {
        return termtype;
    }

    public void setTermtype(String termtype) {
        this.termtype = termtype;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }
}
